// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   yp.java

package com.zelix;

import java.awt.Component;
import java.awt.Window;
import java.io.File;

// Referenced classes of package com.zelix:
//            j3, eo, bw, cw, 
//            r2, z2, as, to, 
//            wu, tb, nc, hc

public class yp
    implements eo
{

    private z2 a;
    private nc b[];
    private boolean c;
    private hc d[];
    private File e[];
    private as f;
    private String g;
    static String h = z(z("Z|(d\036Qe,fQr,\005oRei?"));
    private static String z[];

    public yp(z2 z2_1, as as1)
    {
        a = z2_1;
        f = as1;
        z2_1.setEnabled(false);
        z2_1.a(true);
        a(z2_1.g());
    }

    static void a(yp yp1, Object obj, Object obj1)
    {
        yp1.a(obj, obj1);
    }

    static void a(yp yp1, Object obj, Object obj1, Object obj2, Object obj3, int i)
    {
        yp1.a(obj, obj1, obj2, obj3, i);
    }

    private void a(Object obj, Object obj1)
    {
label0:
        {
            int i = ((Integer)obj1).intValue();
            if(i != 1)
                break label0;
            g = (String)obj;
            a.b(g);
            if(b == null)
            {
                b();
                if(!tb.b)
                    break label0;
            }
            a(b);
        }
    }

    private void a()
    {
        a(a.g());
    }

    private void a(String s)
    {
        bw bw1 = new bw(this);
        new j3(a, h + z[0], s, to.b(to.Eb), z[1], to.b(to.ob), f, bw1);
    }

    private void b()
    {
        a(((nc []) (null)));
    }

    private void a(nc anc[])
    {
        cw cw1 = new cw(this);
        a.setEnabled(false);
        new r2(a, h + z[3], z[2], true, f.d(), null, cw1);
    }

    public void c()
    {
        a.setEnabled(true);
        a.toFront();
        a.a(false);
    }

    private void a(Object obj, Object obj1, Object obj2, Object obj3, int i)
    {
label0:
        {
            boolean flag = tb.b;
            if(obj != null)
            {
                b = (nc[])obj;
                c = true;
            }
            d = (hc[])obj1;
            e = (File[])obj2;
            wu wu1 = (wu)obj3;
            String s = (String)wu1.a();
            if(s != null)
                f.b(s);
            if(i == 1)
            {
                f.l();
                a.a(b, d, e, wu1, null);
                if(!flag)
                    break label0;
            }
            if(g == null)
            {
                a();
                if(!flag)
                    break label0;
            }
            a(g);
        }
    }

    private static char[] z(String str) {
        char ac[] = str.toCharArray();
        int clen = ac.length;
        if (clen >= 2)
            return ac;
        ac[0] ^= 0x3e;
        return ac;
    }

    private static String z(char[] chs) {
        for (int i = 0; i < chs.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key = 0x15;
                    break;
                case 1:
                    key =12;
                    break;
                case 2:
                    key =17;
                    break;
                case 3:
                    key = 10;
                    break;
                default:
                    key = 62;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }

    static
    {
        String as1[] = new String[4];
        as1[0] = z(z("5!mIRt\177>z_ad"));
        as1[1] = z(z("[i5~"));
        as1[2] = z(z("ZG"));
        as1[3] = z(z("5!mENpbmIRt\177>oM"));
        z = as1;
    }
}
